Fieldmark Integration 🧪
Introduction
Fieldmark is an open-source tool for structured offline field data collection. It enables researchers to create custom forms that suit their field collection workflows, then distribute these forms through a mobile app to collect complex and structured information while offline, such as sample geolocation and images. You can learn more about setting up in the Fieldmark documentation.
The RSpace integration allows users to easily import notebooks and records from their Fieldmark accounts, and optionally integrates with our IGSN ID integration to utilise material sample IDs.
An import from Fieldmark creates:
- a Container in RSpace, with metadata about the Fieldmark notebook (i.e. field collection project)
- a Sample template that matches the Fieldmark form used in the notebook (i.e. metadata schema used for collection)
- a Sample for each record in the notebook, based on the Sample template (i.e. collection entry)
- Optionally, associates IGSN IDs that were pre-registered in RSpace with each sample
- Each Sample's Subsample is placed inside of the Container, keeping the imported items grouped.
The following video overviews the current integration features, and how RSpace, Fieldmark and IGSN IDs can integrate for an end-to-end sample workflow:
Set up
Fieldmark
- Log into https://dashboard.fieldmark.app/profile/long-lived-tokens and click on "Create long lived token"

- Fill the "Title", "Description" and "Token duration" and then click on the "Create Long-Lived token" button on the bottom of the panel

- Copy your long lived token and then click on "I've saved my token - Close"

RSpace
- On the Apps page, open the Fieldmark entry in the list of Disabled appsIf Fieldmark shows up in the Unavailable apps list, please ask your system administrator to allow the App first by modifying System -> Configuration -> System Settings -> fieldmark.available.
- Paste your Long Lived Token into the API Key field, and Save
- Click on Enable to activate the integration. The integration will now appear in the list of Enabled apps and you will receive a confirmation notification
Import Fieldmark records into Inventory
To import your Fieldmark records into Inventory:
- From within Inventory, click on Create, then Fieldmark

- A list of Fieldmark notebooks available for import will be displayed. You can use the Columns button to toggle which notebook metadata fields are displayed in the table. Select the notebook you wish to import.
- (optional) If you are using our IGSN ID integration, you can select the Fieldmark field that was used to record IGSN IDs (e.g. a QR code field or a text field that was only used for inputting IGSN ID DOIs). Do note that for this feature to work, the IGSN IDs need to be pre-registered through RSpace first; we recommend printing out these IGSN IDs in raffle book format from the IGSN IDs management page for use in the field. Only Fieldmark fields that exclusively have values in the format
https://doi.org/10.82316/e8dw-b192
,doi.org/10.82316/e8dw-b192
, or10.82316/e8dw-b192
will be available to choose from; empty values are allowed (i.e. not every Fieldmark record needs to have an IGSN ID assigned).
To skip this step, simply click on Import without selecting a field.

- After the import is complete, you will receive a success notification. The following content will have been created:
- An import container is created on your Bench, named after the Fieldmark notebook and time of import. The notebook metadata is visible as Custom Fields on the container.
- A sample template is created, with metadata fields corresponding to the Fieldmark schema used by the records in the notebook. A sample based on this template is created for each record in the Fieldmark notebook.
- Samples based on the sample template are created for each record. Metadata fields and their values, including images, are visible in the Custom Fields section. If you've chosen to associate pre-registered IGSN IDs, those will be visible too.
- The import container on your Bench also groups the individual subsamples that are created for each of the imported samples (see Samples vs Subsamples). You can view the sample metadata from each subsample by expanding the Sample Fields section.
Current limitations
Since this integration is a prototype, there are several limitations in its functionality. We are actively working on this integration, so we'd love to hear from you on how it should evolve next!
Currently:
- We currently only support importing notebooks with records based on a single structure (named "Form" in Fieldmark): notebooks with more than one "Form" are not importable.
- The integration is a one-off, one-way import, meaning there is no way to trigger an update to samples that were already imported, if additional changes were made in Fieldmark. A second import will simply create a second set of samples.
- We support the following Fieldmark metadata types: text, integer number, boolean, date, date and time, location, and files (including images).
- We currently only support one photograph per attachment field
- We don't currently support importing relationships between records that are tracked by Fieldmark, e.g. samples and observations, and we don't support importing Fieldmark arrays.
- We don't currently support a comprehensive IGSN ID workflow, but users can register an IGSN ID and publish the custom sample fields on the landing page once the samples are imported into Inventory.